package com.tiancheng.trade.payment.service;

import com.tiancheng.trade.commom.core.data.PageInfo;
import com.tiancheng.trade.payment.model.CouponSettleFile;
import com.tiancheng.trade.payment.task.ums.bo.CouponSettleFileBo;
import com.tiancheng.trade.payment.vo.admin.CouponSettleFileQueryVO;
import com.tiancheng.trade.payment.vo.admin.res.CouponSettleFileResVo;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Set;

/**
 * @Author: likailun
 * @Description: 优惠券-清分汇总
 * @Date: create in 2021/12/16 2:17 下午
 */
public interface CouponSettleFileService {
    void save(CouponSettleFile couponSettleFile);

    List<CouponSettleFile> queryByFileNames(Set<String> fileNames);

    /**
     * 优惠券清分结果
     *
     * @param couponSettleFileBos 清分结果集合
     */
    void saveCouponSettleResult(List<CouponSettleFileBo> couponSettleFileBos);


    PageInfo<CouponSettleFileResVo> findList(CouponSettleFileQueryVO couponSettleFileQueryVO);

    void exportList(CouponSettleFileQueryVO couponSettleFileQueryVO, HttpServletResponse response, HttpServletRequest request);
}
